import './assets/main.css'
import { createApp } from 'vue'
import pinia from './stores'
import "./router/permission"

import App from './App.vue'
import router from './router'
import mitt from 'mitt'

// import MyPagination from '@/components/MyPagination.vue'

const app = createApp(App)

const mit = mitt()
// Bus 事件总线
app.config.globalProperties.$Bus = mit

// 分页组件
// app.component('MyPagination', MyPagination)


app.use(pinia)
app.use(router)


app.mount('#app')
